<h2>Newest Photogaleries</h2>



{if $PhotoLibrary_Albums}<div id="tbl">
<table>
	<tr>
		<th width="70">Event-Date</th>
		<th width="">Galery</th>
	</tr>
	
{foreach name=fore from=$PhotoLibrary_Albums item=a}{if $a->canRead()}{if $smarty.foreach.fore.iteration <= 5}
	<tr>
		<td>{$a->eventDate|date_format:"%d.%m.%Y"}</td>
		<td><a href="{$Sys_CurrentPageURL}&pkPhotoLibrary={$a->pkPhotoLibrary}&method=detail">{$a->title}</a></td>
	</tr>		
{/if}{/if}{/foreach}
</table>
</div>
{else}
No Photogaleries found...
{/if}